package com.kiki.stater;

/**
 * Created by mazeyi on 2020/11/30.
 */
public enum PointEnum {

    error(101, "服务器操作失败"),
    success(100, "操作成功"),
    points_not_enough(601, "积分不足"),
    repeat_withdraw(602, "重复提现"),
    amount_not_enough(603, "额度已用完"),
    no_bind_wechat(604, "未绑定微信"),
    no_id_card(605, "未实名认证"),
    is_black_user(606, "已加入黑名单"),
    already_draw_new_user(607, "新手提现只能参与一次"),
    no_finish_new_task(608, "未完成专属提现任务"),
    register_date_not_enough(609, "注册时间太短"),
    device_error(610, "设备异常");

    private Integer code;

    private String message;

    PointEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
